<?
if ($_SESSION['auth'] != "POLPwBLgpZDZ7RNvzy6t2wxH3eSfuowVpY5c9HorCetkWieV52") {
  $displaylock = 1;
  $locked = " <p>You must be logged in to access the other functions on this panel.<br />
              <center><img src='images/lock.png' alt='Features Locked' border='0' />
              </center></p>";
} ?>
<div id="sidebar">
  <div id="menu">
  <? if ($displaylock == 1) { echo $locked; } else { ?>
      <ul>
        <li id="menu1"><a href="index.php?page=home">Homepage</a></li>
        <li id="menu2"><a href="index.php?page=company-mang">Company Management</a></li>
        <li id="menu3"><a href="#">link3</a></li>
      	<li id="menu4"><a href="#">link4</a></li>
      	<li id="menu5"><a href="index.php?page=account">My Account</a></li>
      	<li id="menu6"><a href="index.php?action=logout" title="Logout">Logout</a></li>
    	</ul>
    <? } ?>
  </div>
	<div class="sidebox-style">
		 <p><strong>History and Alert Panel</strong></p>
  <? if ($displaylock == 1) { echo $locked; } else { ?>
      <ul class="style1">
    		<li class="first"><span>05.18.10</span><a href="#">Sed accumsan et elementum</a></li>
    		<li><span>05.18.10</span><a href="#">Euismod phasellus sed gravida</a></li>
    		<li><span>05.18.10</span><a href="#">Vel arcu condimentum dolore</a></li>
    		<li><span>05.18.10</span><a href="#">Tempor lectus rutrum lacus</a></li>
    		<li><span>05.18.10</span><a href="#">Lorem pellentesque maecenas</a></li>
    		<li><span>05.18.10</span><a href="#">Vehicula porttitor et vestibulum</a></li>
    		<li><span>05.18.10</span><a href="#">Primis in faucibus et ultrices</a></li>
    		<li><span>05.18.10</span><a href="#">Cubilia curae aliquam nullam</a></li>
  	 </ul>
 <? } ?>
  </div>
</div>